package cn.jetpiece.cloud.resource.app.modular.scan.service;

import cn.jetpiece.cloud.resource.api.mode.query.ResourceQuery;
import cn.jetpiece.cloud.resource.api.mode.result.ResourceResult;
import cn.jetpiece.cloud.model.page.PageResult;
import cn.jetpiece.cloud.resource.annotation.model.RegisterResourceParam;
import cn.jetpiece.cloud.resource.app.modular.scan.entity.Resource;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 资源表 服务类
 * </p>
 *
 * @author XuJZ
 * @since 2020-01-09
 */
public interface ResourceService extends IService<Resource> {

    void registerResource(RegisterResourceParam param);

    PageResult<ResourceResult> page(ResourceQuery query);
}
